package com.qianzhou.eduCourseBoot.service;

import com.qianzhou.eduCommon.dto.CourseLessonDTO;
import com.qianzhou.eduCommon.dto.CourseSectionDTO;
import com.qianzhou.eduCommon.vo.CourseLessonVO;
import com.qianzhou.eduCommon.vo.CourseSectionVO;
import com.qianzhou.eduCommon.vo.CourseVO;

import java.util.List;

public interface CourseContentService {
    List<CourseSectionVO> findSectionAndLesson(Integer courseId);

    Integer updateSectionStatus(CourseSectionDTO dto);

    CourseVO findCourseById(Integer courseId);

    CourseSectionVO showCourseSection(Integer courseSectionId);

    CourseLessonVO showCourseLesson(Integer courseLessonId);

    void updateSection(CourseSectionDTO dto);

    void saveSection(CourseSectionDTO dto);

    void updateLesson(CourseLessonDTO dto);

    void saveLesson(CourseLessonDTO dto);

    void updateLessonStatus(CourseLessonDTO dto);
}
